home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11186 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.wwa.com!news
  2. From: pdubois@wwa.com (PDuBois)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland 4.5 application won't work on its own
  5. Date: Wed, 13 Mar 1996 03:12:49 GMT
  6. Organization: SaturnSoft
  7. Message-ID: <4i5eb7$oe0@kirin.wwa.com>
  8. References: <4i3fhh$bor@dole.uninett.no>
  9. NNTP-Posting-Host: pool2-027.wwa.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Kristoffer.Moe@nifu.no (Kristoffer Moe) wrote:
  13.  
  14. >I have recently developed an application with Borland C++ 
  15. >4.5 and OWL. It is based on a TDecoratedFrame parent with a TDialog as a 
  16. >child. The program works nicely (acceptably that is) when compiled and run 
  17. >'within' Borland IDE. However, when it is started on its own, whithout the 
  18. >Borland IDE loaded in the machine at all, it displays the TDecoratedFrame, 
  19. >and generates a General Protecton Fault. With Winspector running in the 
  20. >background it works again. The application is based on AppExpert.
  21.  
  22. >Ideas, anyone?
  23.  
  24.  
  25. >Yours,
  26.  
  27.  
  28.  
  29. >Kristoffer Moe
  30.  
  31. >Kristoffer.Moe@nifu.no
  32.  
  33. Kristoffer,
  34.  
  35.  This is a common problem.  You are using Borloand custom controls in
  36. your window or on one of your dialogs.  When you do, you need to call
  37. EnableBWCCC() function in your TApplication's InitMainWindow function.
  38. This loads the Borland DLL that is needed to use their custome
  39. controls.  The reason it throws a lot of people is because the Borland
  40. IDE and Borland Code Gaurd both load the DLL themselves, so you dont
  41. get an error when THEY are running.  You only get the error when you
  42. run ther program by itself.  
  43.  
  44. Paul
  45.  
  46.